package com.sanjiahantang.youjiarole.module.me.scheme.beans;

import com.google.gson.Gson;
import com.sanjiahantang.youjiarole.base.BaseBean;

import java.util.List;

/**
 * Created by admin on 2017/11/20.
 */

public class MeSchemeListBean extends BaseBean {

    /**
     * \"apartmentName\": \"刘伟360\",
     * \"address\": \"北京市北京市东城区\",
     * \"id\": 246,
     * \"userName\": \"小红花\"
     */

    private String data;

    public Data getData() {
        return new Gson().fromJson(data, Data.class);
    }

    public void setData(String data) {
        this.data = data;
    }

    public static class Data extends ListBean {
        List<Item> list;

        public List<Item> getList() {
            return list;
        }

        public void setList(List<Item> list) {
            this.list = list;
        }
    }

    public static class Item {
        private String apartmentName;
        private String address;
        private int id;
        private String userName;
        private int isSubcontractProject;
        private String projectName;
        private String projectRoleName;
        private String projectPhone;
        private String projectRoleId;

        private int isSubcontract;
        private String designName;
        private String designRoleName;
        private String designPhone;
        private String designRoleId;

        public int getIsSubcontract() {
            return isSubcontract;
        }

        public void setIsSubcontract(int isSubcontract) {
            this.isSubcontract = isSubcontract;
        }

        public String getDesignName() {
            return designName;
        }

        public void setDesignName(String designName) {
            this.designName = designName;
        }

        public String getDesignRoleName() {
            return designRoleName;
        }

        public void setDesignRoleName(String designRoleName) {
            this.designRoleName = designRoleName;
        }

        public String getDesignPhone() {
            return designPhone;
        }

        public void setDesignPhone(String designPhone) {
            this.designPhone = designPhone;
        }

        public String getDesignRoleId() {
            return designRoleId;
        }

        public void setDesignRoleId(String designRoleId) {
            this.designRoleId = designRoleId;
        }

        public int getIsSubcontractProject() {
            return isSubcontractProject;
        }

        public void setIsSubcontractProject(int isSubcontractProject) {
            this.isSubcontractProject = isSubcontractProject;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        public String getProjectRoleName() {
            return projectRoleName;
        }

        public void setProjectRoleName(String projectRoleName) {
            this.projectRoleName = projectRoleName;
        }

        public String getProjectPhone() {
            return projectPhone;
        }

        public void setProjectPhone(String projectPhone) {
            this.projectPhone = projectPhone;
        }

        public String getProjectRoleId() {
            return projectRoleId;
        }

        public void setProjectRoleId(String projectRoleId) {
            this.projectRoleId = projectRoleId;
        }

        public String getApartmentName() {
            return apartmentName;
        }

        public void setApartmentName(String apartmentName) {
            this.apartmentName = apartmentName;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getUserName() {
            return userName;
        }

        public void setUserName(String userName) {
            this.userName = userName;
        }
    }
}
